package com.css.fxfzxczh.modules.disasterSituationDataManage.lifeline.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

import java.io.Serializable;

//导入excel用

@Data
public class LifelineExcelVo implements Serializable, IExcelDataModel, IExcelModel {
    //省
    @Excel(name = "省")
    private String province;
    //市
    @Excel(name = "市")
    private String city;
    //县
    @Excel(name = "县")
    private String district;
    //详细地址
    @Excel(name = "详细地址")
    private String detailAddress;
    //抽样点名称
    @Excel(name = "抽样点名称")
    private String sampleName;

    @Excel(name = "生命线工程名称")
    private String lifelineName;
    //经度
    @Excel(name = "经度")
    private Float longitude;
    //纬度
    @Excel(name = "纬度")
    private Float latitude;

    @Excel(name = "一级",  groupName = "生命线类型")//,replace = {"生命线工程设备_0", "交通系统_1", "供水系统_2", "输油系统_3", "燃气系统_4", "电力系统_5", "通信系统_6", "水利工程_7"}
    private String lineType;

    @Excel(name = "二级（当一级选择非生命线工程设备时，二级必填）")
    private String lineType2;

    //破坏情况
    @Excel(name = "破坏情况")//,replace = {"I级_0","II级_1","III级_2","Ⅳ级_3","V级_5"}
    private String damage;
    //推测烈度
    @Excel(name = "推测烈度")//,replace = {"V度_0","VI度_1","VII度_2","VIII度_3","IX度_5","X度_6","XI度_7","XII度_8"}
    private String intensity;
    //具体描述情况
    @Excel(name = "具体描述情况")
    private String detailDesc;

    private Integer rowNum;
    private String errorMsg;
}
